package com.shwread.android.qysw.bean.que;

import java.io.Serializable;

/**
 * 题目答案
 */
public class OptionBean implements Serializable {
    /**
     * 题目id
     */
    private String itemId = "";
    /**
     * 题目类型
     */
    private String itemType = "";
    /**
     * 选中选项id
     */
    private String optionId = "";
    /**
     * 填空题内容|上传凭证url
     */
    private String answerContent = "";
    /**
     * 文件类型(只对应上传凭证)
     */
    private String fileType = "";
    /**
     * 是否完成
     */
    private boolean isFinish = false;

    public boolean isFinish() {
        return isFinish;
    }

    public OptionBean setFinish(boolean finish) {
        isFinish = finish;
        return this;
    }

    public String getItemId() {
        return itemId;
    }

    public OptionBean setItemId(int itemId) {
        this.itemId = String.valueOf(itemId);
        return this;
    }

    public String getItemType() {
        return itemType;
    }

    public OptionBean setItemType(String itemType) {
        this.itemType = itemType;
        return this;
    }

    public String getOptionId() {
        return optionId;
    }

    public OptionBean setOptionId(String optionId) {
        this.optionId = optionId;
        return this;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public OptionBean setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
        return this;
    }

    public String getFileType() {
        return fileType;
    }

    public OptionBean setFileType(String fileType) {
        this.fileType = fileType;
        return this;
    }
}
